package com.kgc.good.goodmanagerservice.service;

import com.kgc.good.bean.GoodAddress;
import com.kgc.good.goodmanagerservice.mapper.GoodAddressMapper;
import com.kgc.good.service.GoodAddressService;
import org.apache.dubbo.config.annotation.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class GoodAddressServiceImpl implements GoodAddressService {
    @Resource
    GoodAddressMapper goodAddressMapper;
    @Override
    public List<GoodAddress> getAll() {
        return goodAddressMapper.selectByExample(null);
    }
}
